/*
    DICT_4X4_50 = 0,
    DICT_4X4_100,
    DICT_4X4_250, 2
    DICT_4X4_1000,
    DICT_5X5_50,  4
    DICT_5X5_100,
    DICT_5X5_250,  6
    DICT_5X5_1000, 
    DICT_6X6_50,  8
    DICT_6X6_100, 
    DICT_6X6_250, 10
    DICT_6X6_1000,
    DICT_7X7_50,
    DICT_7X7_100,
    DICT_7X7_250,
    DICT_7X7_1000,
    DICT_ARUCO_ORIGINAL,
    DICT_APRILTAG_16h5,     ///< 4x4 bits, minimum hamming distance between any two codes = 5, 30 codes
    DICT_APRILTAG_25h9,     ///< 5x5 bits, minimum hamming distance between any two codes = 9, 35 codes
    DICT_APRILTAG_36h10,    ///< 6x6 bits, minimum hamming distance between any two codes = 10, 2320 codes
    DICT_APRILTAG_36h11     ///< 6x6 bits, minimum hamming distance between any two codes = 11, 587 codes
    */

#include "aruco_test.h"
#include <memory>

using namespace aruco_node;

int main(int argc, char** argv)
{   
    int arucoFormatId = 10;
    std::shared_ptr<ArucoTest> aruco_creator = std::make_shared<ArucoTest>(arucoFormatId); // 需要头文件memory
    // std::unique_ptr<ArucoTest> aruco_creator = std::make_unique<ArucoTest>();

    int id = 0;
    int length = 400;
    
    aruco_creator->create_aruco_id(id, length);
    aruco_creator->save_arurco(id, length);
   
    return 0;
}